﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.RBACFile
{
    /// <summary>
    /// 员工角色关联表
    /// </summary>
    public class EmployeeRole
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 员工id
        /// </summary>
        public int EmployeeId { get; set; }
        /// <summary>
        /// 角色id
        /// </summary>
        public int RolesId { get; set; } 
    }
}
